<template>
  <div class="iconList">
    <div class="iconItem">
      <i class="iconfont icon-rili"></i>
      <span>每日推荐</span>
    </div>
    <div class="iconItem">
      <i class="iconfont icon-shouyinji"></i>
      <span>私人FM</span>
    </div>
    <div class="iconItem">
      <i class="iconfont icon-gedan"></i>
      <span>歌单</span>
    </div>
    <div class="iconItem">
      <i class="iconfont icon-paihangbang"></i>
      <span>排行榜</span>
    </div>
    <div class="iconItem">
      <i class="iconfont icon-zhiboziyuan"></i>
      <span>直播</span>
    </div>
    <div class="iconItem">
      <i class="iconfont icon-youxiguanli"></i>
      <span>游戏专区</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "iconList",
};
</script>

<style lang="less" scoped>
.iconList {
  display: flex;
  overflow: auto;
  width: 7.2rem;
  justify-content: space-between;
  margin: 0.2rem auto 0;

  .iconItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.28rem;
    padding-right: 0.4rem;

    &:last-child {
      padding-right: 0;
    }
    .iconfont {
      display: inline-block;
      padding: 0.15rem;
      margin-bottom: 0.1rem;
      border-radius: 50%;
      font-size: 0.6rem;
      background: rgb(248, 113, 113);
      color: #fff;
    }

    span {
      white-space: nowrap;
    }
  }
  // 隐藏滚动条
  &::-webkit-scrollbar {
    display: none;
    // background-color: transparent;
  }
}
</style>
